package com.dkm.dkmproject.domain;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 评价表
 * </p>
 *
 * @author 周佳佳
 * @since 2020-04-26
 */
@TableName("evaluation_tb")
public class EvaluationTb extends Model<EvaluationTb> {

    private static final long serialVersionUID = 1L;

    /**
     * 评论主键
     */
	@TableId(value="ev_tb", type= IdType.AUTO)
	private Integer evTb;
    /**
     * 订单主键
     */
	@TableField("bu_id")
	private String buId;
    /**
     * 评论内容
     */
	@TableField("ev_content")
	private String evContent;
    /**
     * 服务态度评星
     */
	@TableField("ev_score")
	private Integer evScore;
    /**
     * 服务速度评星
     */
	@TableField("ev_scoreone")
	private Integer evScoreone;
    /**
     * 服务准备评星
     */
	@TableField("ev_scoretwo")
	private Integer evScoretwo;
    /**
     * 评论时间
     */
	@TableField("ev_date")
	private Date evDate;
    /**
     * 评论人
     */
	@TableField("ev_person")
	private String evPerson;
	/**
	 * 头像
	 */
	@TableField("ev_img")
	private String evImg;
	/**
	 * 格式化时间
	 */
	@TableField("ev_date_one")
	private String evDateOne;

	private String orContent;

	private Integer userId;

	public String getEvImg() {
		return evImg;
	}

	public void setEvImg(String evImg) {
		this.evImg = evImg;
	}

	public String getEvDateOne() {
		return evDateOne;
	}

	public void setEvDateOne(String evDateOne) {
		this.evDateOne = evDateOne;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getOrContent() {
		return orContent;
	}

	public void setOrContent(String orContent) {
		this.orContent = orContent;
	}

	public Integer getEvTb() {
		return evTb;
	}

	public void setEvTb(Integer evTb) {
		this.evTb = evTb;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public String getBuId() {
		return buId;
	}

	public void setBuId(String buId) {
		this.buId = buId;
	}

	public String getEvContent() {
		return evContent;
	}

	public void setEvContent(String evContent) {
		this.evContent = evContent;
	}

	public Integer getEvScore() {
		return evScore;
	}

	public void setEvScore(Integer evScore) {
		this.evScore = evScore;
	}

	public Integer getEvScoreone() {
		return evScoreone;
	}

	public void setEvScoreone(Integer evScoreone) {
		this.evScoreone = evScoreone;
	}

	public Integer getEvScoretwo() {
		return evScoretwo;
	}

	public void setEvScoretwo(Integer evScoretwo) {
		this.evScoretwo = evScoretwo;
	}

	public Date getEvDate() {
		return evDate;
	}

	public void setEvDate(Date evDate) {
		this.evDate = evDate;
	}

	public String getEvPerson() {
		return evPerson;
	}

	public void setEvPerson(String evPerson) {
		this.evPerson = evPerson;
	}

	@Override
	protected Serializable pkVal() {
		return this.evTb;
	}

	@Override
	public String toString() {
		return "EvaluationTb{" +
			"evTb=" + evTb +
			", buId=" + buId +
			", evContent=" + evContent +
			", evScore=" + evScore +
			", evScoreone=" + evScoreone +
			", evScoretwo=" + evScoretwo +
			", evDate=" + evDate +
			", evPerson=" + evPerson +
			"}";
	}
}
